package Decorator;


import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import Decorator.*;
import Decorator.Shape;

public class Main   {
    public static final int _1M = 1024 * 1024;

    public static void main(String[] args) throws InterruptedException {
        Shape circle = new Circle();

        Shape redCircle = new RedShapeDecorator(new Circle());
        Shape redRectangle = new RedShapeDecorator(new Rectangle());
        System.out.println("Circle with normal border");
        circle.draw();

        System.out.println("\nCircle of red border");
        redCircle.draw();

        System.out.println("\nRectangle of red border");
        redRectangle.draw();

    }
}
